COM for DLL

Providing a generic interface between a COM client and a DLL host, acting as a COM object

Installation Notes:

This module was developed and tested with Windows XP Professional. It is designed to work 
with Windows 98 Windows ME, Windows NT and Windows XP ...

COMforDLL requires keys in the registry. The procedure for entering these keys is 
embedded in the DLL itself. It is invoked using regsvr32.exe.

The process for deregistration, also invoked by regsvr32.dll but with the /u option
cleanly removes all COMforDLL keys from the registry.


Please note the drive letter is omitted. If this does not match your Computer's
configuration then you will need to alter the batch files to suit.

Batch Files:

InstallCOMforDLL.bat

md "\Program Files\COMforDLL"
copy COMforDLL.dll "\Program Files\COMforDLL\COMforDLL.dll"
copy COMforDLL.tlb "\Program Files\COMforDLL\COMforDLL.tlb"
regsvr32 COMforDLL.dll
pause

UninstallCOMforDLL,bat

regsvr32 /u COMforDLL.dll
del "\Program Files\COMforDLL\COMforDLL.dll"
del "\Program Files\COMforDLL\COMforDLL.tlb"
rd "\Program Files\COMforDLL"
pause


Charles E V Pegge
28 June 2006

